package com.zzhrtech.wgzx_cityzen.beans.contact;

import java.util.List;

/**
 * Created by renxiangpeng on 16/9/19.
 */
public class JifenGoodsDetailBean {

    String code;
    String msg;
    String link;
    Data data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public Data getData() {
        return data;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getLink() {
        return link;
    }

    public static class Data{
        String good_id;
        String good_name;
        String good_img;
        String good_imgth;
        String good_detail;
        String good_num;
        String good_price;
        String inventory;
        String recycle;
        String good_sort;
        String good_type;
        String code;

        public String getGood_type() {
            return good_type;
        }

        public void setGood_type(String good_type) {
            this.good_type = good_type;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public void setJifenText(String jifenText) {
            this.jifenText = jifenText;
        }

        String jifenText;

        public String getJifenText() {
            return "积分";
        }

        public String getGood_id() {
            return good_id;
        }

        public void setGood_id(String good_id) {
            this.good_id = good_id;
        }

        public String getGood_name() {
            return good_name;
        }

        public void setGood_name(String good_name) {
            this.good_name = good_name;
        }

        public String getGood_img() {
            return good_img;
        }

        public void setGood_img(String good_img) {
            this.good_img = good_img;
        }

        public String getGood_imgth() {
            return good_imgth;
        }

        public void setGood_imgth(String good_imgth) {
            this.good_imgth = good_imgth;
        }

        public String getGood_detail() {
            return good_detail;
        }

        public void setGood_detail(String good_detail) {
            this.good_detail = good_detail;
        }

        public String getGood_num() {
            return good_num;
        }

        public void setGood_num(String good_num) {
            this.good_num = good_num;
        }

        public String getGood_price() {
            return good_price;
        }

        public void setGood_price(String good_price) {
            this.good_price = good_price;
        }

        public String getInventory() {
            return inventory;
        }

        public void setInventory(String inventory) {
            this.inventory = inventory;
        }

        public String getRecycle() {
            return recycle;
        }

        public void setRecycle(String recycle) {
            this.recycle = recycle;
        }

        public String getGood_sort() {
            return good_sort;
        }

        public void setGood_sort(String good_sort) {
            this.good_sort = good_sort;
        }
    }

    public boolean isSuccess(){
        return code.equals("0");
    }

}
